// <com.woyouqiu.Copyright>
// --------------------------------------------------------------
// <copyright>上海有求网络科技有限公司 2015</copyright>
// <Solution>Vecen.BangChuang</Solution>
// <Project>Vecen.BangChuang.Application</Project>
// <FileName>ProductDetailOutDto.cs</FileName>
// <CreateTime>2017-05-04 21:05</CreateTime>
// <Author>何苗</Author>
// <Email>hemiao@woyouqiu.com</Email>
// <log date="2017-05-04 21:05" version="00001">创建</log>
// --------------------------------------------------------------
// </com.woyouqiu.Copyright>

using System.Collections.Generic;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using AutoMapper;
using Vecen.BangChuang.BangChuang.Areas.DomainDtos;
using Vecen.BangChuang.BangChuang.Areas.Dtos;

namespace Vecen.BangChuang.BangChuang.Products.Dto {
    /// <summary>
    /// 商品明细
    /// </summary>
    [AutoMapFrom(typeof(Product))]
    public class ProductDetailOutDto: EntityDto,ICityOutDto {

        /// <summary>
        /// 轮播图
        /// </summary>
        public List<int> HeaderImageIds { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 商品描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 商品介绍
        /// </summary>
        public string GraphicContent { get; set; }

        /// <summary>
        /// 参数
        /// </summary>
        [IgnoreMap]
        public Dictionary<string, string> Parameters { get; set; }

        /// <summary>
        /// 出厂价
        /// </summary>
        public decimal Price { get; set; }
        
        /// <summary>
        /// 区域信息
        /// </summary>
        public FullCityOutDto Address { get; set; }

    }
}